package com.scpii.universal.hibernate.entity;


/**
 * ContentTab entity. @author MyEclipse Persistence Tools
 */

public class ContentTab implements java.io.Serializable {

	// Fields

	private static final long serialVersionUID = 7852695645961037321L;
	private Integer intContentId;
	private String varContentName;
	private Integer intEnterpId;
	private Integer intCateId;
	private Integer intAppId;
	private String varContentDescript;
	private String datAddDatetime;
	private String varContentImgUrl;
	private Integer intViewCount;
	private Integer intAction;
	private Integer intDeleteSign;
	private String datUpdateDatetime;
	private Long intResourceId;
	private Integer intSortOrder;
	private Long intPrivilegeUser;
	private Integer commentCount;
	private Integer favCount;
	private Integer joinCount;

	// Constructors

	/** default constructor */
	public ContentTab() {
	}

	/** full constructor */
	public ContentTab(String varContentName, Integer intEnterpId,
			Integer intCateId, Integer intAppId,
			String varContentDescript, String datAddDatetime,
			String varContentImgUrl, Integer intViewCount,
			Integer intAction, Integer intDeleteSign,
			String datUpdateDatetime, Long intResourceId,
			Integer intSortOrder) {
		this.varContentName = varContentName;
		this.intEnterpId = intEnterpId;
		this.intCateId = intCateId;
		this.intAppId = intAppId;
		this.varContentDescript = varContentDescript;
		this.datAddDatetime = datAddDatetime;
		this.varContentImgUrl = varContentImgUrl;
		this.intViewCount = intViewCount;
		this.intAction = intAction;
		this.intDeleteSign = intDeleteSign;
		this.datUpdateDatetime = datUpdateDatetime;
		this.intResourceId = intResourceId;
		this.intSortOrder = intSortOrder;
	}

	// Property accessors

	public ContentTab(Integer intContentId) {
		super();
		this.intContentId = intContentId;
	}
	
	/**
	 * invoked by:CatelogInterfaceImpl.getContentsByAppId,ContentServiceImpl.getContentIdByResourceId
	 * @param intContentId
	 * @param intResourceId
	 */
	public ContentTab(Integer intContentId, Long intResourceId) {
		super();
		this.intContentId = intContentId;
		this.intResourceId = intResourceId;
	}

	/**
	 * invoked by:ContentDaoImpl.getByUserCateIds()
	 * @param intContentId
	 * @param intResourceId
	 * @param intPrivilegeUser
	 */
	public ContentTab(Integer intContentId, Long intResourceId,
			Long intPrivilegeUser) {
		super();
		this.intContentId = intContentId;
		this.intResourceId = intResourceId;
		this.intPrivilegeUser = intPrivilegeUser;
	}

	public Integer getIntContentId() {
		return this.intContentId;
	}

	public void setIntContentId(Integer intContentId) {
		this.intContentId = intContentId;
	}

	public String getVarContentName() {
		return this.varContentName;
	}

	public void setVarContentName(String varContentName) {
		this.varContentName = varContentName;
	}

	public Integer getIntEnterpId() {
		return this.intEnterpId;
	}

	public void setIntEnterpId(Integer intEnterpId) {
		this.intEnterpId = intEnterpId;
	}

	public Integer getIntCateId() {
		return this.intCateId;
	}

	public void setIntCateId(Integer intCateId) {
		this.intCateId = intCateId;
	}

	public Integer getIntAppId() {
		return this.intAppId;
	}

	public void setIntAppId(Integer intAppId) {
		this.intAppId = intAppId;
	}

	public String getVarContentDescript() {
		return this.varContentDescript;
	}

	public void setVarContentDescript(String varContentDescript) {
		this.varContentDescript = varContentDescript;
	}

	public String getDatAddDatetime() {
		return this.datAddDatetime;
	}

	public void setDatAddDatetime(String datAddDatetime) {
		this.datAddDatetime = datAddDatetime;
	}

	public String getVarContentImgUrl() {
		return this.varContentImgUrl;
	}

	public void setVarContentImgUrl(String varContentImgUrl) {
		this.varContentImgUrl = varContentImgUrl;
	}

	public Integer getIntViewCount() {
		return this.intViewCount;
	}

	public void setIntViewCount(Integer intViewCount) {
		this.intViewCount = intViewCount;
	}

	public Integer getIntAction() {
		return this.intAction;
	}

	public void setIntAction(Integer intAction) {
		this.intAction = intAction;
	}

	public Integer getIntDeleteSign() {
		return this.intDeleteSign;
	}

	public void setIntDeleteSign(Integer intDeleteSign) {
		this.intDeleteSign = intDeleteSign;
	}

	public String getDatUpdateDatetime() {
		return this.datUpdateDatetime;
	}

	public void setDatUpdateDatetime(String datUpdateDatetime) {
		this.datUpdateDatetime = datUpdateDatetime;
	}

	public Long getIntResourceId() {
		return intResourceId;
	}

	public void setIntResourceId(Long intResourceId) {
		this.intResourceId = intResourceId;
	}

	public Integer getIntSortOrder() {
		return intSortOrder;
	}

	public void setIntSortOrder(Integer intSortOrder) {
		this.intSortOrder = intSortOrder;
	}

	public Long getIntPrivilegeUser() {
		return intPrivilegeUser;
	}

	public void setIntPrivilegeUser(Long intPrivilegeUser) {
		this.intPrivilegeUser = intPrivilegeUser;
	}

	public Integer getCommentCount() {
		return commentCount;
	}

	public void setCommentCount(Integer commentCount) {
		this.commentCount = commentCount;
	}

	public Integer getFavCount() {
		return favCount;
	}

	public void setFavCount(Integer favCount) {
		this.favCount = favCount;
	}

	public Integer getJoinCount() {
		return joinCount;
	}

	public void setJoinCount(Integer joinCount) {
		this.joinCount = joinCount;
	}

}